<?php if(!defined('PATH_HD'))exit;
$db->exe("DROP TABLE IF EXISTS `ec_comment`");
$db->exe("CREATE TABLE `ec_comment` (
  `cmid` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `content` varchar(200) NOT NULL DEFAULT '',
  `addtime` int(10) NOT NULL DEFAULT '0' COMMENT '发表评论时间',
  `userid` int(10) unsigned NOT NULL,
  `aid` int(10) unsigned NOT NULL,
  PRIMARY KEY (`cmid`),
  KEY `fk_ec_comment_ec_user_idx` (`userid`),
  KEY `fk_ec_comment_ec_arc1_idx` (`aid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='文章评论表'");

?>